/*
 * @Author: zhangxiangsheng 1026583651@qq.com
 * @Date: 2024-04-10 08:52:59
 * @LastEditors: libing 964368540@qq.com
 * @LastEditTime: 2024-06-12 21:58:25
 * @FilePath: \crm\z\function\imgsrc.js
 * @Description:
 *
 * Copyright (c) 2024 by ${git_name_email}, All Rights Reserved.
 */

// 静态图片-放在测试环境的oss上
export default function imgsrc(name) {
  // if (name.includes("/admin/sys-file/oss/file")) {
  // 	return process.env.VUE_APP_BASE_URL + name;
  // }
  // return process.env.VUE_APP_BASE_URL + "/admin/sys-file/oss/file?fileName=" + name;
  return process.env.OSS_URL + "/wx/crm/" + name;
}
